<template>
  <div>       
    <el-form :inline="true"  class="demo-form-inline">
      
        <el-form-item label="车辆品牌">
          <el-input placeholder="请输入车辆品牌"></el-input>
        </el-form-item>        
        <el-form-item>
          <el-button type="primary" @click="onSearch">搜索</el-button>
          <el-button type="primary" @click="onAdd">新增车辆品牌</el-button>
        </el-form-item>
      </el-form>
  </div>
  
</template>

<script>
export default {
  name:'brandBar',
  methods: {
    onSearch(){
      console.log('onSearch');
    },
    onAdd(){
      console.log('onAdd');
    }
  },
}
</script>

<style scoped>
.title{
  display: inline-block;
}
</style>